package com.ywq.app.dao;

import java.util.List;
import java.util.Map;

import com.ywq.app.domain.ArtArtist;
import com.ywq.app.domain.ArtRoom;
import com.ywq.app.domain.ArtRoomArtist;
import com.ywq.app.domain.ArtRoomPic;
import com.ywq.app.domain.ArtRoomVideo;
import com.ywq.common.exception.AppBusinessException;

public interface ArtRoomDao {
	public int getArtRoomListCount(Map<String, Object> map)throws AppBusinessException;
	
	public List<ArtRoom> getArtRoomList(Map<String, Object> map) throws AppBusinessException;
	
	public void insertArtRoom(ArtRoom artRoom) throws AppBusinessException;
	
	public void updateArtRoom(ArtRoom artRoom) throws AppBusinessException;
	
	public List<ArtRoom> getOldRoomList(Map<String, Object> map)throws AppBusinessException;
	
	public List<ArtRoom> getNowRoomList(Map<String, Object> map)throws AppBusinessException;
	
	public int getOldRoomListCount(Map<String, Object> map)throws AppBusinessException;
	
	public ArtRoom getInRoomById(Map<String, Object> map)throws AppBusinessException;
	
	public void insertArtRoomIst(ArtRoomArtist artRoomArtist) throws AppBusinessException;
	
	public List<ArtArtist> getArtArtistList(String roomId)throws AppBusinessException;
	
	public void insertArtRoomPic(ArtRoomPic artRoomPic) throws AppBusinessException;
	
	public List<ArtRoomPic> getArtRoomPicById(Map<String, Object> map)throws AppBusinessException;
	
	public int getArtRoomPicByIdCount(Map<String, Object> map)throws AppBusinessException;
	
	public void deleteRoomPic(Map<String, Object> map) throws AppBusinessException;
	
	public void deleteRoom(Map<String, Object> map) throws AppBusinessException ;
	
	public void deleteRoomArtist(String identifier) throws AppBusinessException;
	
	public void insertArtFlv(ArtRoomVideo artRoomVideo) throws AppBusinessException;
	
	public List<ArtRoomVideo> getArtRoomFlv(Map<String, Object> map)throws AppBusinessException ;
	
	public int getArtRoomFlvCount(Map<String, Object> map)throws AppBusinessException;
	
	public void deleteFlv(Map<String, Object> map) throws AppBusinessException;

}
